package com.xiaoxx.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xiaoxx.model.entity.sys.SysMsgPublish;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaoxx.model.vo.sys.SysMsgPublishListVo;
import com.xiaoxx.model.vo.sys.SysMsgPublishQuery;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author HX
 * @since 2023-08-03
 */
public interface SysMsgPublishMapper extends BaseMapper<SysMsgPublish> {


    IPage<SysMsgPublishListVo> listMsgPublish(Page<SysMsgPublish> sysMsgPublishPage, @Param("query") SysMsgPublishQuery query);
}
